#!/bin/bash
# Zaitan Module - Dbdesigner Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='DB'
RMOD_NAME='Dbdesigner'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='4.0'
RMOD_DESCRIPTION='Installs Dbdesigner'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'

# install Dbdesigner

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall



cd /usr/share/zaitan
apt-get update

wget -c http://nacaolivre.org/disco/enviados/libborqt6.9.0-qt2.3-i386.deb
wget -c http://nacaolivre.org/disco/enviados/dbdesigner4.0-i386.deb

dpkg -i libborqt6.9.0-qt2.3-i386.deb
dpkg -i dbdesigner4.0-i386.deb

apt-get -f install



echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0
